<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>XX大学-首页</title>
    <!-- 引入Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
        .nav-link { color: #333; }
        .nav-link.active, .nav-link:hover { color: #0066cc; }
        .carousel-item img { height: 400px; object-fit: cover; }
        .card { margin-bottom: 20px; }
    </style>
</head>
<body>
    <!-- 导航栏（响应式） -->
    <nav class="navbar navbar-expand-lg navbar-light bg-light shadow-sm">
        <div class="container">
            <a class="navbar-brand" href=" ">
                <img src="images/5.png" alt="学校logo" height="40">
            </a >
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav ms-auto">
                    <li class="nav-item"><a class="nav-link active" href="shouye.html">首页</a ></li>
                    <li class="nav-item"><a class="nav-link" href="lanmuye.html">学院概况</a ></li>
                    <li class="nav-item"><a class="nav-link" href="list.html">教学科研</a ></li>
                    <li class="nav-item"><a class="nav-link" href="list.html">招生就业</a ></li>
                    <li class="nav-item"><a class="nav-link" href="list.html">联系我们</a ></li>
                </ul>
            </div>
        </div>
    </nav>

    <!-- 轮播图 -->
    <div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="true">
        <div class="carousel-indicators">
            <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active" aria-current="true"></button>
            <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1"></button>
            <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="2"></button>
        </div>
        <div class="carousel-inner">
            <div class="carousel-item active">
                <img src="images/1.jpg" class="d-block w-100" alt="校园风光1">
            </div>
            <div class="carousel-item">
                <img src="images/2.jpg" class="d-block w-100" alt="校园活动2">
            </div>
            <div class="carousel-item">
                <img src="images/4.jpg" class="d-block w-100" alt="学术会议3">
            </div>
        </div>
        <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="prev">
            <span class="carousel-control-prev-icon" aria-hidden="true"></span>
        </button>
        <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="next">
            <span class="carousel-control-next-icon" aria-hidden="true"></span>
        </button>
    </div>

    <!-- 核心内容区 -->
    <div class="container my-5">
        <h2 class="text-center mb-4">最新公告</h2>
        <div class="row">
            <!-- 公告卡片（适配不同设备） -->
            <div class="col-lg-4 col-md-6 col-sm-12">
                <div class="card h-100">
                    <div class="card-body">
                        <h5 class="card-title">关于2024级新生报到的通知</h5>
                        <p class="card-text">报到时间：2024年9月1日-2日，地点：学校南门体育馆，需携带身份证、录取通知书等材料...</p >
                        <a href="detail.html" class="btn btn-primary">查看详情</a >
                    </div>
                    <div class="card-footer text-muted">发布时间：2024-08-15</div>
                </div>
            </div>
            <div class="col-lg-4 col-md-6 col-sm-12">
                <div class="card h-100">
                    <div class="card-body">
                        <h5 class="card-title">2024年秋季学期选课须知</h5>
                        <p class="card-text">选课系统开放时间：8月20日9:00-8月25日17:00，请登录教务系统完成选课，逾期不予补选...</p >
                        <a href="detail.html" class="btn btn-primary">查看详情</a >
                    </div>
                    <div class="card-footer text-muted">发布时间：2024-08-10</div>
                </div>
            </div>
            <div class="col-lg-4 col-md-6 col-sm-12">
                <div class="card h-100">
                    <div class="card-body">
                        <h5 class="card-title">校级学术讲座：人工智能与医疗创新</h5>
                        <p class="card-text">主讲人：李教授（XX研究院），时间：9月5日14:30，地点：学术报告厅A厅...</p >
                        <a href="detail.html" class="btn btn-primary">查看详情</a >
                    </div>
                    <div class="card-footer text-muted">发布时间：2024-08-05</div>
                </div>
            </div>
        </div>
    </div>

    <!-- 页脚 -->
    <footer class="bg-dark text-white py-4">
        <div class="container text-center">
            <p>河南中医药大学 版权所有 | 地址：郑州市金水博学路156号 | 联系电话：0XXX-XXXXXXX</p >
        </div>
    </footer>

    <!-- 引入Bootstrap JS -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>